/**
* 版权声明：厦门睿商网络科技有限公司 版权所有 违者必究
* 日    期：2020-04-07
*/
package com.rzico.basics.entity;

import lombok.Data;
import java.util.Date;
import javax.persistence.*;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * <pre>
 *   会员等级数据库对象
 * </pre>
 * @author Rzico Boot
 * @version 1.0
 */
@Data
@JsonIgnoreProperties(value = {"handler"})
@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "wx_vip")
public class Vip{
    @Id
    @ApiModelProperty(value = "" )
    protected Long id;

    @ApiModelProperty(value = "创建日期" )
    protected java.util.Date createDate;

    @ApiModelProperty(value = "修改日期" )
    protected java.util.Date modifyDate;

    @ApiModelProperty(value = "vip(vip0,vip1,vip2,vip3,vip4,vip5)" )
    protected Integer vip;

    @ApiModelProperty(value = "会员类型(0.会员,1.推广员,2.区代理)" )
    protected Integer vipType;

    @ApiModelProperty(value = "等级名称" )
    protected String name;

    @ApiModelProperty(value = "等级图标" )
    protected String icon;

    @ApiModelProperty(value = "升级方式(0.不升级,1.本人消费,2.累计消费(含推广),3.付费会员,4.消费+人数)" )
    protected Integer method;

    @ApiModelProperty(value = "消费金额/年费" )
    protected java.math.BigDecimal amount;

    @ApiModelProperty(value = "消费数量/终生会员" )
    protected Integer quantity;

    @ApiModelProperty(value = "推广人数" )
    protected Integer people;

    @ApiModelProperty(value = "等级描述" )
    protected String memo;

    @ApiModelProperty(value = "所属企业" )
    protected Long enterpriseId;

    @ApiModelProperty(value = "标题名称" )
    protected String title;

    @ApiModelProperty(value = "标签过滤" )
    protected String tagid;

}
